<?php



namespace App\Model;

use Illuminate\Database\Eloquent\Model;

/**
 *  常见问题
 */
class Qa extends Model
{
    protected $table = 'question_list';

    static function getList()
    {
        return self::where('flag', 1)->select(['question', 'answer'])->get()->toArray();
    }
}
